package com.weixing.mall.provider.model.dto;

import com.weixing.mall.base.constant.DatePattern;
import com.weixing.mall.provider.api.model.enums.AgentLevelEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * AgentRefundDto
 *
 * @author gjq
 * @date 2019/9/24
 * @since 1.0
 **/
@Data
public class AgentRefundDto {

    /**
     * 代理商id
     */
    private Long agentId;
    /**
     * 退费金额
     */
    private BigDecimal amount;
    /**
     * 代理商等级 代理商退费时的等级
     */
    private AgentLevelEnum agentLevel;
    /**
     * 备注
     */
    private String remark;
    /**
     * 退费时间
     */
    @DateTimeFormat(pattern = DatePattern.NORM_DATETIME_PATTERN)
    private Date refundTime;
}
